package com.bw.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.house.common.ResponseResult;
import com.bw.house.entity.TbHouse;
import com.bw.house.entity.TbUser;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 邢晋宁
 * @since 2020-09-04
 */
public interface ITbUserService extends IService<TbUser> {

    ResponseResult login(TbUser user, HttpServletResponse response);

    ResponseResult listAll(int currentPage, int pageSize, TbUser user);

    ResponseResult saveUser(TbUser user);
}
